package cn.by.wms.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import cn.by.wms.entity.*;
import cn.by.wms.service.InventoryBatchService;

import java.util.List;

/**
 * 库存批次;(206_inventory_batch)控制层
 * @author : heimi
 * @date : 2024-11-29
 */
@RestController
@RequestMapping("/api/inventorybatch")
public class InventoryBatchController{
    @Autowired
    private InventoryBatchService inventoryBatchService;

    /** 
     * 查询接口
     */
     @GetMapping
     public List<InventoryBatch> select(InventoryBatchQuery query){
        return inventoryBatchService.select(query);
    }

}